﻿using GalaSoft.MvvmLight.Messaging;
using NicoView.Model.Service;
using NicoView.Model.Service.Results;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NicoView.Model;
using NicoView.ViewModel.Message;

namespace NicoView.ViewModel
{
    public sealed class NicoViewApplicationDispatcher
    {
        public NicoViewApplicationDispatcher()
        {

         
        }





        private static NicoViewApplicationDispatcher createDispather()
        {
            return new NicoViewApplicationDispatcher();
        }

        private static NicoViewApplicationDispatcher current;

        internal static NicoViewApplicationDispatcher Current
        {
            get
            {
                if (current == null)
                {
                    current = createDispather();
                }

                return current;
            }


        }

    }
}
